package smetana.modules.business;

import smetana.domain.raw.*;

import java.util.List;
import java.util.Map;

/**
 * @author dmitry.mamonov
 */
public interface BusinessPosition {
    Position findPositionById(Integer id);

    Map<Integer, PositionGroup> loadProductGroupsMap();

    Map<Integer, Position> loadProductsMap();

    Position newPositionUnsaved();

    //TODO not so good methid.
    Position newPosition(Position position);

    List<PositionType> listPositionTypes();

    List<PositionUnit> listPositionUnits();
}
